package com.xszx.entity;

public class Position {
    private Integer id;//区域类型id
    private Integer rid;//区域id
    private String location;//区域类型位置
    private Integer area;//区域类型面积（单个或单层）
    private Integer state;//使用状态 （0：未使用 1：已使用  2：可存放）
    private Integer space;//区域类型可用空间
    private RegionType type;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Integer getArea() {
        return area;
    }

    public void setArea(Integer area) {
        this.area = area;
    }

    public RegionType getType() {
        return type;
    }

    public void setType(RegionType type) {
        this.type = type;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getSpace() {
        return space;
    }

    public void setSpace(Integer space) {
        this.space = space;
    }

    @Override
    public String toString() {
        return "Position{" +
                "id=" + id +
                ", rid=" + rid +
                ", location='" + location + '\'' +
                ", area='" + area + '\'' +
                ", state=" + state +
                ", space=" + space +
                ", type=" + type +
                '}';
    }
}
